package com.enjoyor.soa.traffic.util.enums.signal;
/**
 * 
 * @Title: getValue
 * @Description: 车道特性
 * @return
 * @return: String
 */
public enum LaneFeature {
	//1	机动车车道
	VEH_LANE("1","机动车车道"),
	//2	非机动车车道
	NO_VEH_LANE("2","非机动车车道"),
	//3	机非混合车道
	MIX_LANE("3","机非混合车道"),
	//9	其他
	OTHER_LANE("9","其他");

	private final String key;

	private final String value;

	private LaneFeature(String key, String value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return this.key;
	}

	public String getValue() {
		return this.value;
	}
	public static String getValue(String key) {  
		LaneFeature[] enums = values();  
        for (LaneFeature e : enums) {  
            if (e.getKey().equals(key)) {  
                return e.getValue();  
            }  
        }  
        return null;  
    } 
}
